package cn.edu.suse.epilepsy.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_dep_info")
public class DepInfoPojo {
    @TableId(value = "dep_info_id", type = IdType.AUTO)
    private Integer id;
    @TableField("dep_info_name")
    private String depName;
    @TableField("dep_info_person_count")
    private Integer personCount;
    @TableField("dep_info_superior")
    private String depSuperior;
    @TableField("dep_info_director")
    private String depDirector;
    @TableField("dep_info_phone")
    private String phone;
    @TableField("created")
    @JsonFormat(pattern = "yy-MM-dd", timezone = "Asia/Shanghai")
    private Date created;
}
